package com.softjourn.punchcard.merchant.model;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonAutoDetect
@JsonIgnoreProperties(ignoreUnknown = true)
public class Merchant {

	private String name;

	private String uid;

	private List<SalePoint> salePoints = new ArrayList<SalePoint>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public List<SalePoint> getSalePoints() {
		return salePoints;
	}

	public void setSalePoints(List<SalePoint> salePoints) {
		this.salePoints = salePoints;
	}

	

	@Override
	public String toString() {
		return "Merchant [name=" + name + ", uid=" + uid + "]";
	}
}
